import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';

export const routes: Routes = [
    {
        path: '',
        redirectTo: 'companyInfo',
        pathMatch: 'full'
    },
    {
        path:'companyInfo',
        loadChildren:'./App/companyInfo/companyInfo.module#CompanyInfoModule'
    },
    {
        path: 'powerManage',
        loadChildren: './App/powerManage/powerManage.module#PowerManageModule'
    },
    {
        path: 'systemConfig',
        loadChildren: './App/systemConfig/systemConfig.module#SystemConfigModule'
    }
];